home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / VISUALBA / VBONTOP.ZIP / ONTOP.FRM (.txt) < prev    next >
Visual Basic Form  |  1993-01-09  |  2KB  |  36 lines

  1. OnTop
  2. OnTop
  3. Form1
  4. Label1
  5. Click the "Always On Top" button to make this form ALWAYS above any other form or application. (After clicking the button, try to drag another form or application on top of this form.  They will always "fall" behind this form) 
  6. Label2
  7. This routine is good for making "floating" icon palletes, etc.  By the way, if you like Visual Basic and you don't have verions 2.0 yet, you should get it. It is truly amazing!
  8. Command1
  9. Always On Top
  10. Command2
  11. Not On Top
  12. Command3
  13. Command1_Click
  14. SetWindowPos
  15. frmmenus
  16. HWND_TOPMOST
  17. SWP_NOACTIVATE
  18. SWP_SHOWWINDOWs
  19. HWND_NOTOPMOST
  20. Command2_Click
  21. Form_Click
  22. Form1
  23. ontop
  24. Command3_Click
  25. Label1_Click
  26. Screen
  27. Widthz
  28. Height
  29. @    Form_Load
  30. Command1_Click
  31. Command2_Click
  32. Command3_Click
  33. Form_Load
  34.  Center form horizontally.
  35.  Center form vertically.
  36.